package com.ict.txmsv2.mapper;

import com.ict.txmsv2.model.LearnResouce;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LearnResouceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(LearnResouce record);

    int insertSelective(LearnResouce record);

    LearnResouce selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(LearnResouce record);

    int updateByPrimaryKey(LearnResouce record);

    List<LearnResouce> getLearnResouceList(@Param("page") Integer page, @Param("size")Integer size, @Param("lr")LearnResouce learnResouce);

    long getTotal(@Param("lr") LearnResouce learnResouce);

    void updateRecord(@Param("learnId")Integer learnId);
}